import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persist'//引入持久化插件

import './style/tailwind.css'//引入tailwindcss

// createApp(App).mount('#app')
const pinia = createPinia() //初始化pinia
pinia.use(piniaPersist)//使用数据持久化插件
const app = createApp(App)//创建vue实例 传入页面
app.use(router)
app.use(pinia)

app.mount('#app')
app.use(ElementPlus)
